package com.mjh.zhujianju.dao.party;

import com.livew.framework.base.dao.BaseMapper;
import com.mjh.zhujianju.model.party.BuildingClassDetailEO;
import com.mjh.zhujianju.vo.party.BuildingClassDetailVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BuildingClassDetailMapper extends BaseMapper<BuildingClassDetailEO> {

    /**
     * 根据课堂id统计
     * @param list
     * @return
     */
    List<BuildingClassDetailVO> queryBuildingClassDetailTotal(List<Long> list);

    List<BuildingClassDetailEO> queryBuildingClassDetail(List<Long> list);
    
    Integer queryBuildingClassDetailTotalByClassId(@Param("classId")Long classId);


    List<BuildingClassDetailEO> selectListByByCaseIds(@Param("caseIds") List<Long> caseIds);
    
    List<BuildingClassDetailEO> selectDetailByClassId(@Param("classId")Long classId);
}